import request from '../request.js'

export const sendOfferApi = (data) => {
  return request.post('recruit/offer/sendOffer', data)
}

export const findAllOfferApi = (params) => {
  return request.get('recruit/offer/list/offer/all', {params})
}

export const findAllStationApi = (params) => {
  return request.get('recruit/station/page/list', {params})
}

export const updateOfferStatusApi = (data) => {
  return request.post(`white/list/update/offer/status?id=${ data.id }&status=${ data.status }`)
}